package com.kgc.server.service;

import com.kgc.server.pojo.EasybuyOrder;
import com.kgc.server.util.ResponseMessage;

public interface OrderService {

    /**
     * 添加订单
     */
    public ResponseMessage addOrder(String userID);

    /**
     * 根据订单号拿订单信息
     */
    public ResponseMessage getOrderBySerialNumber(String s);

    /**
     * 根据用户信息拿订单信息
     */
    public ResponseMessage getOrdersByUserId(String userId,String serialNumber,Integer pageNo);

    /**
     * 订单详情信息
     * @param oId
     * @return
     */
    public ResponseMessage getOAndP(String oId);

}
